﻿using System;
using System.Collections.Generic;

#nullable disable

namespace Store.Model.Models
{
    public partial class Commodity//商品表
    {
        public Commodity()
        {
            Orders = new HashSet<Order>();
            RelationsComs = new HashSet<RelationsCom>();
        }

        public int CommodityId { get; set; }
        public int? TypeId { get; set; }
        public int? PromotionId { get; set; }
        public string CommodityImg { get; set; }
        public string CommodityName { get; set; }
        public string ArticleNumber { get; set; }
        public decimal? CommodityPrice { get; set; }
        public int? CommodityState { get; set; }
        public string Brand { get; set; }
        public int? SsalealesVolume { get; set; }
        public int? BagEmail { get; set; }
        public DateTime? CreateTime { get; set; }
        public int? ShState { get; set; }
        public string Url { get; set; }
        public string Payment { get; set; }
        public string Supplier { get; set; }
        public string Store { get; set; }
        public string TjCommodity { get; set; }
        public string Servicee { get; set; }
        public string CommodityContent { get; set; }
        public int? ComDelState { get; set; }
        public string CreatePeople { get; set; }
        public DateTime? EalterTime { get; set; }
        public string EalterPeople { get; set; }

        public virtual Promotion Promotion { get; set; }
        public virtual Typee Type { get; set; }
        public virtual ICollection<Order> Orders { get; set; }
        public virtual ICollection<RelationsCom> RelationsComs { get; set; }
    }
}
